-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notify startup fail #304
Notify startup fail #304
Conversation
✅ Deploy Preview for lodestone-dashboard ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for lodestone-storybook ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the confusion, but your PR should:
- Make the
run
method in core return aResult<..., Error>
- Match the result of running core on Tauri
- If the result is Err then display a popup before shutting down the app
Is this ready for review again? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll build it locally and try it when I get back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works on my machine, just some minor things
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm! tested both normal launch bad launch in fedora
Added a cross-platform notification when Tauri fails to launch. Rather ugly on Windows since it looks like apps that aren't installed don't have a "AppUserModeId" which is what Windows seems to use identify the app behind the notification and add its name/icon to the banner. Currently just says "Windows Powershell". Also seems to support an additional type of icon as a cross-platform feature but couldn't get it working on Windows☹️ .